Skip to content

fix: Update looped status of entity even if no variables changed#1616

Merged
triceo merged 1 commit into
TimefoldAI:mainfrom
Christopher-Chianelli:fix/1576
May 27, 2025
Merged

fix: Update looped status of entity even if no variables changed#1616
triceo merged 1 commit into
TimefoldAI:mainfrom
Christopher-Chianelli:fix/1576

Conversation

@Christopher-Chianelli

Copy link
Copy Markdown
Contributor

We previously only added a non-looped entity to affected entities if one of its declarative variables changed. However, if null is a valid value (such as for unassigned entities), then it might be the case the looped status of an entity changed from looped to non-looped. We now add an entity to the affected entities list if its loop status changed.

We previously only added a non-looped entity to affected entities
if one of its declarative variables changed. However, if null is
a valid value (such as for unassigned entities), then it might be
the case the looped status of an entity changed from looped to
non-looped. We now add an entity to the affected entities list if
its loop status changed.

@triceo triceo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this must have been painful to track down!
I've left some comments, but mostly stating the obvious, nothing to be done now.

@sonarqubecloud

Copy link
Copy Markdown

@triceo triceo added this to the v1.23.0 milestone May 27, 2025
@triceo triceo merged commit a906e68 into TimefoldAI:main May 27, 2025
43 checks passed
@Christopher-Chianelli Christopher-Chianelli deleted the fix/1576 branch May 14, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants